/*
 * @Author: your name
 * @Date: 2022-02-03 14:56:22
 * @LastEditTime: 2022-04-11 11:24:57
 * @LastEditors: your name
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: /vue2-source-code-analysis/vue2 源码/vue/src/core/global-api/mixin.js
 */
/* @flow */

import { mergeOptions } from '../util/index'

export function initMixin(Vue: GlobalAPI) {
  Vue.mixin = function (mixin: Object) {
    this.options = mergeOptions(this.options, mixin)
    return this
  }
}
